class Foo extends React.Component {
    componentWillMount() {}
    UNSAFE_componentWillMount() {}
}
